#include<assert.h>
#include<iostream>
using namespace std;

class Stack
{
public:
	void StackInit();
	void StackPush(int x);
	int StackTop();

private:
	int* _a;
	int _top;
	int _capacity;
};
